package com.easy.secret.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.easy.secret.enums.SecureOperType;


/**
 *
 * @ProjectName:    com.springboot.cloud.web
 * @Package:        com.springboot.cloud.common.web.annotation
 * @ClassName:      SecureField
 * @Description:    安全字段注解
 * @Author:         wangjc
 * @CreateDate:     2023-02-14
 * @UpdateUser:     更新者
 * @UpdateDate:     2023-02-14
 * @UpdateRemark:   更新内容
 * @Version:        1.0
 */
@Inherited
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SecureField {

	/**
	 * 加密操作类型
	 * @return
	 */
	SecureOperType operType() default SecureOperType.ENC;
}

